package cc.lj.internal.api.payment.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 电子券收款后结算操作入参
 * @author liangxifeng
 * @date 2022-01-13
 */
@Data
@NoArgsConstructor
@Validated
@ApiModel("电子券收款后结算操作入参")
public class TicketSettlementApiCommand {
    /**
     * 合同收款表主键
     */
    @ApiModelProperty(value = "合同收款表主键")
    @Min(value=1,message = "合同收款表主键必须>=1的数字")
    private  Integer consumeId;
    /**
     * 合同号
     */
    //@ApiModelProperty(value = "合同号")
    //@NotBlank(message = "合同号不可为空")
    //private String contractNum;
}
